<template>
	<view>
		<view style="padding-top: 48%;margin: 0 30upx;">
			<text class="uni-h4">检测到你未开启定位授权，为保证你的正常使用，请前往设置页面开启定位授权！</text>
		</view>
	</view>
</template>

<script>
	export default{
		data () {
			return {
				
			}
		},
		onShow() {
			let result = plus.navigator.checkPermission('LOCATION')
			if(result != 'denied'){
				uni.switchTab({
					url: '/pages/clock/clock'
				});
			}
		}
	}
</script>

<style>
</style>
